import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
import network from "./network/index"
Vue.config.productionTip = false
Vue.prototype.$network = network
import 'element-ui/lib/theme-chalk/index.css';
import { Input } from 'element-ui';
// 防止路由点击重复路径报错
// import Router from 'vue-router'
// const routerPush = Router.prototype.push
// Router.prototype.push = function push(location) {
//   return routerPush.call(this, location).catch(error=> error)}
Vue.use(Input)
Vue.use(Vant);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
